package com.cs.system.entity;

import com.cs.system.extend.SysRoleMenuExtend;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.*;

/**
 * 角色和菜单关联表 model
 * @author wind
 * @date 2025/08/08 17:52:02
 * @version V1.0
 */
@Table("sys_role_menu")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class SysRoleMenu extends SysRoleMenuExtend{

    /** 角色ID*/
    @Id
    private Long roleId;

    /** 菜单ID*/
    @Id
    private Long menuId;

}